package com.supplychainapi.model;

import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 销售订单明细
 *
 * @author:xiezhiwei
 * @email:xiezhiwei@niwodai.net
 * @date:2017-11-09
 */
@Table(name = "scm_tbsaledtl")
public class ScmTbsaledtl {

    @ApiModelProperty(value = "明细GUID")
    private String fsSeq;

    @ApiModelProperty(value = "销售单GUID")
    private String fsSaleGUID;

    @ApiModelProperty(value = "销售单号")
    private String fsSaleNo;

    @ApiModelProperty(value = "客户平台GUID")
    private String fsPGUID;

    @ApiModelProperty(value = "分录号")
    private Short fiEntryNumber;

    @ApiModelProperty(value = "物料GUID")
    private String fsMaterialGuId;

    @ApiModelProperty(value = "物料代码")
    private String fsMaterialId;

    @ApiModelProperty(value = "物料名称")
    private String fsMaterialName;

    @ApiModelProperty(value = "规格型号")
    private String fsModelno;

    @ApiModelProperty(value = "厂牌")
    private String fsFactory;

    @ApiModelProperty(value = "产地")
    private String fsOriginPlace;

    @ApiModelProperty(value = "标签属性")
    private String fsAttribute;

    @ApiModelProperty(value = "销售计量单位")
    private String fsSaleUnitId;

    @ApiModelProperty(value = "数量")
    private BigDecimal fdQty;

    @ApiModelProperty(value = "单价")
    private BigDecimal fdPrice;

    @ApiModelProperty(value = "含税单价")
    private BigDecimal fdTaxPrice;

    @ApiModelProperty(value = "金额")
    private BigDecimal fdMoney;

    @ApiModelProperty(value = "折扣率%")
    private BigDecimal fdDiscountRate;

    @ApiModelProperty(value = "折扣额")
    private BigDecimal fdDiscount;

    @ApiModelProperty(value = "折后金额")
    private BigDecimal fdDisAfterMoney;

    @ApiModelProperty(value = "税率%")
    private BigDecimal fdTaxRate;

    @ApiModelProperty(value = "税额")
    private BigDecimal fdTax;

    @ApiModelProperty(value = "价税合计")
    private BigDecimal fdTotal;

    @ApiModelProperty(value = "赠送数量")
    private BigDecimal fdGiftQty;

    @ApiModelProperty(value = "赠送金额")
    private BigDecimal fdGiftMoney;

    @ApiModelProperty(value = "明细备注")
    private String fsDtlNote;

    @ApiModelProperty(value = "使用单位")
    private String fsApplyName;

    @ApiModelProperty(value = "源单类型")
    private String fsBillSource;

    @ApiModelProperty(value = "源单号GUID")
    private String fsBillSourceGuid;

    @ApiModelProperty(value = "源单号No")
    private String fsBillSourceNo;

    @ApiModelProperty(value = "单明细Seq")
    private String fsBillSourceSeq;

    @ApiModelProperty(value = "关联销售出库取用数量")
    private BigDecimal fdSendOutGetQty;

    @ApiModelProperty(value = "销售出库退回数量")
    private BigDecimal fdSendOutReturnQty;

    @ApiModelProperty(value = "创建日期时间")
    private Date fsCreateTime;

    @ApiModelProperty(value = "创建用户代码")
    private String fsCreateUserId;

    @ApiModelProperty(value = "创建用户名称")
    private String fsCreateUserName;

    @ApiModelProperty(value = "更新日期时间")
    private Date fsUpdateTime;

    @ApiModelProperty(value = "更新用户代码")
    private String fsUpdateUserId;

    @ApiModelProperty(value = "更新用户名称")
    private String fsUpdateUserName;

    @ApiModelProperty(value = "店铺GUID")
    private String fsShopGUID;

    public String getFsSeq() {
        return fsSeq;
    }

    public void setFsSeq(String fsSeq) {
        this.fsSeq = fsSeq == null ? null : fsSeq.trim();
    }

    public String getFsSaleGUID() {
        return fsSaleGUID;
    }

    public void setFsSaleGUID(String fsSaleGUID) {
        this.fsSaleGUID = fsSaleGUID == null ? null : fsSaleGUID.trim();
    }

    public String getFsSaleNo() {
        return fsSaleNo;
    }

    public void setFsSaleNo(String fsSaleNo) {
        this.fsSaleNo = fsSaleNo == null ? null : fsSaleNo.trim();
    }

    public String getFsPGUID() {
        return fsPGUID;
    }

    public void setFsPGUID(String fsPGUID) {
        this.fsPGUID = fsPGUID == null ? null : fsPGUID.trim();
    }

    public Short getFiEntryNumber() {
        return fiEntryNumber;
    }

    public void setFiEntryNumber(Short fiEntryNumber) {
        this.fiEntryNumber = fiEntryNumber;
    }

    public String getFsMaterialGuId() {
        return fsMaterialGuId;
    }

    public void setFsMaterialGuId(String fsMaterialGuId) {
        this.fsMaterialGuId = fsMaterialGuId == null ? null : fsMaterialGuId.trim();
    }

    public String getFsMaterialId() {
        return fsMaterialId;
    }

    public void setFsMaterialId(String fsMaterialId) {
        this.fsMaterialId = fsMaterialId == null ? null : fsMaterialId.trim();
    }

    public String getFsMaterialName() {
        return fsMaterialName;
    }

    public void setFsMaterialName(String fsMaterialName) {
        this.fsMaterialName = fsMaterialName == null ? null : fsMaterialName.trim();
    }

    public String getFsModelno() {
        return fsModelno;
    }

    public void setFsModelno(String fsModelno) {
        this.fsModelno = fsModelno == null ? null : fsModelno.trim();
    }

    public String getFsFactory() {
        return fsFactory;
    }

    public void setFsFactory(String fsFactory) {
        this.fsFactory = fsFactory == null ? null : fsFactory.trim();
    }

    public String getFsOriginPlace() {
        return fsOriginPlace;
    }

    public void setFsOriginPlace(String fsOriginPlace) {
        this.fsOriginPlace = fsOriginPlace == null ? null : fsOriginPlace.trim();
    }

    public String getFsAttribute() {
        return fsAttribute;
    }

    public void setFsAttribute(String fsAttribute) {
        this.fsAttribute = fsAttribute == null ? null : fsAttribute.trim();
    }

    public String getFsSaleUnitId() {
        return fsSaleUnitId;
    }

    public void setFsSaleUnitId(String fsSaleUnitId) {
        this.fsSaleUnitId = fsSaleUnitId == null ? null : fsSaleUnitId.trim();
    }

    public BigDecimal getFdQty() {
        return fdQty;
    }

    public void setFdQty(BigDecimal fdQty) {
        this.fdQty = fdQty;
    }

    public BigDecimal getFdPrice() {
        return fdPrice;
    }

    public void setFdPrice(BigDecimal fdPrice) {
        this.fdPrice = fdPrice;
    }

    public BigDecimal getFdTaxPrice() {
        return fdTaxPrice;
    }

    public void setFdTaxPrice(BigDecimal fdTaxPrice) {
        this.fdTaxPrice = fdTaxPrice;
    }

    public BigDecimal getFdMoney() {
        return fdMoney;
    }

    public void setFdMoney(BigDecimal fdMoney) {
        this.fdMoney = fdMoney;
    }

    public BigDecimal getFdDiscountRate() {
        return fdDiscountRate;
    }

    public void setFdDiscountRate(BigDecimal fdDiscountRate) {
        this.fdDiscountRate = fdDiscountRate;
    }

    public BigDecimal getFdDiscount() {
        return fdDiscount;
    }

    public void setFdDiscount(BigDecimal fdDiscount) {
        this.fdDiscount = fdDiscount;
    }

    public BigDecimal getFdDisAfterMoney() {
        return fdDisAfterMoney;
    }

    public void setFdDisAfterMoney(BigDecimal fdDisAfterMoney) {
        this.fdDisAfterMoney = fdDisAfterMoney;
    }

    public BigDecimal getFdTaxRate() {
        return fdTaxRate;
    }

    public void setFdTaxRate(BigDecimal fdTaxRate) {
        this.fdTaxRate = fdTaxRate;
    }

    public BigDecimal getFdTax() {
        return fdTax;
    }

    public void setFdTax(BigDecimal fdTax) {
        this.fdTax = fdTax;
    }

    public BigDecimal getFdTotal() {
        return fdTotal;
    }

    public void setFdTotal(BigDecimal fdTotal) {
        this.fdTotal = fdTotal;
    }

    public BigDecimal getFdGiftQty() {
        return fdGiftQty;
    }

    public void setFdGiftQty(BigDecimal fdGiftQty) {
        this.fdGiftQty = fdGiftQty;
    }

    public BigDecimal getFdGiftMoney() {
        return fdGiftMoney;
    }

    public void setFdGiftMoney(BigDecimal fdGiftMoney) {
        this.fdGiftMoney = fdGiftMoney;
    }

    public String getFsDtlNote() {
        return fsDtlNote;
    }

    public void setFsDtlNote(String fsDtlNote) {
        this.fsDtlNote = fsDtlNote == null ? null : fsDtlNote.trim();
    }

    public String getFsApplyName() {
        return fsApplyName;
    }

    public void setFsApplyName(String fsApplyName) {
        this.fsApplyName = fsApplyName == null ? null : fsApplyName.trim();
    }

    public String getFsBillSource() {
        return fsBillSource;
    }

    public void setFsBillSource(String fsBillSource) {
        this.fsBillSource = fsBillSource == null ? null : fsBillSource.trim();
    }

    public String getFsBillSourceGuid() {
        return fsBillSourceGuid;
    }

    public void setFsBillSourceGuid(String fsBillSourceGuid) {
        this.fsBillSourceGuid = fsBillSourceGuid == null ? null : fsBillSourceGuid.trim();
    }

    public String getFsBillSourceNo() {
        return fsBillSourceNo;
    }

    public void setFsBillSourceNo(String fsBillSourceNo) {
        this.fsBillSourceNo = fsBillSourceNo == null ? null : fsBillSourceNo.trim();
    }

    public String getFsBillSourceSeq() {
        return fsBillSourceSeq;
    }

    public void setFsBillSourceSeq(String fsBillSourceSeq) {
        this.fsBillSourceSeq = fsBillSourceSeq == null ? null : fsBillSourceSeq.trim();
    }

    public BigDecimal getFdSendOutGetQty() {
        return fdSendOutGetQty;
    }

    public void setFdSendOutGetQty(BigDecimal fdSendOutGetQty) {
        this.fdSendOutGetQty = fdSendOutGetQty;
    }

    public BigDecimal getFdSendOutReturnQty() {
        return fdSendOutReturnQty;
    }

    public void setFdSendOutReturnQty(BigDecimal fdSendOutReturnQty) {
        this.fdSendOutReturnQty = fdSendOutReturnQty;
    }

    public Date getFsCreateTime() {
        return fsCreateTime;
    }

    public void setFsCreateTime(Date fsCreateTime) {
        this.fsCreateTime = fsCreateTime;
    }

    public String getFsCreateUserId() {
        return fsCreateUserId;
    }

    public void setFsCreateUserId(String fsCreateUserId) {
        this.fsCreateUserId = fsCreateUserId == null ? null : fsCreateUserId.trim();
    }

    public String getFsCreateUserName() {
        return fsCreateUserName;
    }

    public void setFsCreateUserName(String fsCreateUserName) {
        this.fsCreateUserName = fsCreateUserName == null ? null : fsCreateUserName.trim();
    }

    public Date getFsUpdateTime() {
        return fsUpdateTime;
    }

    public void setFsUpdateTime(Date fsUpdateTime) {
        this.fsUpdateTime = fsUpdateTime;
    }

    public String getFsUpdateUserId() {
        return fsUpdateUserId;
    }

    public void setFsUpdateUserId(String fsUpdateUserId) {
        this.fsUpdateUserId = fsUpdateUserId == null ? null : fsUpdateUserId.trim();
    }

    public String getFsUpdateUserName() {
        return fsUpdateUserName;
    }

    public void setFsUpdateUserName(String fsUpdateUserName) {
        this.fsUpdateUserName = fsUpdateUserName == null ? null : fsUpdateUserName.trim();
    }

    public String getFsShopGUID() {
        return fsShopGUID;
    }

    public void setFsShopGUID(String fsShopGUID) {
        this.fsShopGUID = fsShopGUID == null ? null : fsShopGUID.trim();
    }
}